/*
 * @Description: 
 * @Author: Aroma
 * @Date: 2024-09-19 20:31:51
 * @LastEditors: Aroma
 * @LastEditTime: 2024-09-19 21:00:17
 * @别瞎看: 你个无脑牛马
 */
public class B extends A{
    int x=20;
    @Override
    public void show(){
        System.out.println("B:"+this.x);
    }
    void showAX() {
        System.out.println("A in B: " + super.x); // 使用super关键字访问A类的x
    }
}